import paramsUtils from "./params.util";
import getEncryptUtils from "./encrypt.utils";
import vaildatorUtil from "./vaildator.util";
import * as imageUtil from "./image.utils";
import APP_CONFIG from "@/core/config";

const encryptUtils = getEncryptUtils(APP_CONFIG.useEncrypt || true);

/** 是否移动端 */
export const isMobile = (() => {
    const UA = window.navigator.userAgent;
    return /(iPhone|iPad|iPod|Android|NT)/i.test(UA);
})()

export { paramsUtils, encryptUtils, vaildatorUtil, imageUtil };
